package com.ueboot.weishop.repository.customer;

import com.ueboot.weishop.entity.customer.CustomerInfoEntity;
import com.ueboot.core.repository.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Neel on 2017/9/18.
 */
@Repository
public interface CustomerRepository extends BaseRepository<CustomerInfoEntity, Long> {

    /**
     * 根据用户openId用户信息
     * @param openId 用户OpenId
     * @return
     */
    CustomerInfoEntity findByOpenId(String openId);
}
